package com.yuandian.business.monitor.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.business_monitor.po.ComponentParams;
import com.yuandian.api.business_monitor.vo.ComponentDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 网端组件mapper
 *
 * @Author wangpeiyang
 * @Date 2021/6/1 14:17
 */
@Mapper
public interface ComponentMapper {
	/**
	 * 查询网端组件详情
	 *
	 * @param page   分页条件
	 * @param params 参数
	 * @return 分页对象
	 */
	IPage<ComponentDetailVo> queryComponentDetailList(@Param("page") Page<ComponentDetailVo> page, @Param("params") ComponentParams params);


	/**
	 * 组件详情列表导出
	 *
	 * @param params 参数
	 * @return 分页对象
	 */
	List<ComponentDetailVo> queryComponentDetailListExport(@Param("params") ComponentParams params);

}
